package demo3;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: wx
 * Date: 2023-08-03
 * Time: 21:27
 */
class  base {
    public int a = 9;
    public  int b = 99;
}

class Drived extends base {
    public int c;

    public void method() {
         a = 1;
         b = 2;
         c = 3;
        System.out.println("a"+a);
        System.out.println("b"+b);
    }
}
public class Test2 {
    public static void main(String[] args) {
        Drived drived = new Drived();
    }
}
